﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Imagiality.MeshProcessing.Test;
namespace Imagiality.MeshProcessing.UserTest
{
    class Program
    {

        private class ROSTUB : RootSceneObject
        {
            IList<NodeSceneObject> list;
            public override IList<NodeSceneObject> GetChilds()
            {

                if (list == null)
                {
                    list = new List<NodeSceneObject>();
                    list.Add(new PointCloud(this, "C:\\Users\\ali\\Documents\\Visual Studio 2010\\Projects\\Imagiality\\Imagiality.MeshProcessing.Test\\office_chair_model.pcd"));
                }
                return list;
            }
        }

        public static void Main(String[] args)
        {
            Scene scene = new Scene();
            scene.Add(new ROSTUB());

            Canvas3DForm form = new Canvas3DForm(scene);
            Application.Run(form);


        }
    }
}
